package cn.itsource.exam.service;

import cn.itsource.exam.domain.Login;
import cn.itsource.exam.domain.TeacherInfo;
import cn.itsource.exam.domain.StudentInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface LoginService {
   public Login login(Map map);
   public void loginSave(Login login);
   public StudentInfo selectForStuden(Map map);
   public TeacherInfo selectForTeacher(Map map);

   String resetPwd(Long id, HttpServletRequest request);

   Login selectUserInfoByName(Map<String,Object> map);

   String resetPwd(Long[] ids);
}
